/*
 * igo: com.cctv.igo.security.dto.RoleDefinition.java Create On 2011-5-1 下午09:19:26 By Q-Wang
 * $Revision: 1.1 $
 */
package com.ctvit.framework.security.dto;

import java.io.Serializable;

/**
 * @author <a href="mailto:apeidou@gmail.com">Q-Wang</a>
 *
 */
public class RoleDefinition implements Serializable {

	private Long id;

	private String name;

	private String definition;

	private String allow;

	private String deny;

	private String resourceType;

	private String resourceDefinition;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the definition
	 */
	public String getDefinition() {
		return definition;
	}

	/**
	 * @param definition the definition to set
	 */
	public void setDefinition(String definition) {
		this.definition = definition;
	}

	/**
	 * @return the allow
	 */
	public String getAllow() {
		return allow;
	}

	/**
	 * @param allow the allow to set
	 */
	public void setAllow(String allow) {
		this.allow = allow;
	}

	/**
	 * @return the deny
	 */
	public String getDeny() {
		return deny;
	}

	/**
	 * @param deny the deny to set
	 */
	public void setDeny(String deny) {
		this.deny = deny;
	}

	/**
	 * @return the resourceType
	 */
	public String getResourceType() {
		return resourceType;
	}

	/**
	 * @param resourceType the resourceType to set
	 */
	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	/**
	 * @return the resourceDefinition
	 */
	public String getResourceDefinition() {
		return resourceDefinition;
	}

	/**
	 * @param resourceDefinition the resourceDefinition to set
	 */
	public void setResourceDefinition(String resourceDefinition) {
		this.resourceDefinition = resourceDefinition;
	}
}
